import { RES_MSG } from "@/interfaces/resmsg";
export default (
  data: any,
  code: RES_MSG = RES_MSG.SUCCESS,
  msg: string = "成功"
) => {
  return {
    data,
    msg,
    code,
  };
};
